package org.jeecg.modules.ws.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 债券信息
 * @Author: jeecg-boot
 * @Date:   2025-04-11
 * @Version: V1.0
 */
@Data
@TableName("ws_bond_info")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ws_bond_info对象", description="债券信息")
public class WsBondInfo {

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
	private String id;
	/**项目类型*/
	@Excel(name = "项目类型", width = 15)
    @ApiModelProperty(value = "项目类型")
	private String productType;
	/**债券名称*/
	@Excel(name = "债券名称", width = 15)
    @ApiModelProperty(value = "债券名称")
	private String bondName;
	/**发行时间*/
	@Excel(name = "发行时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "发行时间")
	private Date startTime;
	/**发行金额*/
	@Excel(name = "发行金额", width = 15)
    @ApiModelProperty(value = "发行金额")
	private java.math.BigDecimal startAmount;
	/**期限(年)*/
	@Excel(name = "期限(年)", width = 15)
    @ApiModelProperty(value = "期限(年)")
	private Integer timeLimit;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	private Date createTime;
	/**更新时间*/
	@Excel(name = "更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
	private Date updateTime;
	/**债券简称*/
	@Excel(name = "债券简称", width = 15)
    @ApiModelProperty(value = "债券简称")
	private String bondForShort;
	/**行政区划*/
	@Excel(name = "行政区划", width = 15)
    @ApiModelProperty(value = "行政区划")
	private String xzqhName;
	/**债券性质*/
	@Excel(name = "债券性质", width = 15)
    @ApiModelProperty(value = "债券性质")
	private String bondNature;
	/**利率*/
	@Excel(name = "利率", width = 15)
    @ApiModelProperty(value = "利率")
	private java.math.BigDecimal startRate;
	/**付息方式*/
	@Excel(name = "付息方式", width = 15)
    @ApiModelProperty(value = "付息方式")
	private String fxfs;
	/**还本类型*/
	@Excel(name = "还本类型", width = 15)
    @ApiModelProperty(value = "还本类型")
	private String fblx;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
	private String remark;
	/**债券编码*/
	@Excel(name = "债券编码", width = 15)
    @ApiModelProperty(value = "债券编码")
	private String bondCode;
	/**发行时间起*/
	@TableField(exist = false)
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date startTimeStart;
	/**发行时间止*/
	@TableField(exist = false)
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date startTimeEnd;
	/**发行金额起*/
	@Excel(name = "发行金额起", width = 15)
	@ApiModelProperty(value = "发行金额起")
	@TableField(exist = false)
	private java.math.BigDecimal startAmountStart;
	/**发行金额止*/
	@Excel(name = "发行金额止", width = 15)
	@ApiModelProperty(value = "发行金额止")
	@TableField(exist = false)
	private java.math.BigDecimal startAmountEnd;
}
